.class Lcom/netease/newsreader/activity/NewsReader$22;
.super Ljava/lang/Thread;
.source "NewsReader.java"


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/netease/newsreader/activity/NewsReader;->initVote()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/netease/newsreader/activity/NewsReader;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/activity/NewsReader;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/activity/NewsReader$22;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    .line 565
    invoke-direct {p0}, Ljava/lang/Thread;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 3

    .prologue
    .line 567
    iget-object v0, p0, Lcom/netease/newsreader/activity/NewsReader$22;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v0}, Lcom/netease/newsreader/activity/NewsReader;->access$79(Lcom/netease/newsreader/activity/NewsReader;)Ljava/util/List;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/netease/newsreader/activity/NewsReader$22;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v0}, Lcom/netease/newsreader/activity/NewsReader;->access$79(Lcom/netease/newsreader/activity/NewsReader;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-nez v0, :cond_1

    .line 568
    :cond_0
    iget-object v0, p0, Lcom/netease/newsreader/activity/NewsReader$22;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    sget-object v1, Lcom/netease/newsreader/util/StringUtil;->voteList_url:Ljava/lang/String;

    iget-object v2, p0, Lcom/netease/newsreader/activity/NewsReader$22;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v1, v2}, Lcom/netease/newsreader/rss/GetContent;->getVoteList(Ljava/lang/String;Landroid/content/Context;)Ljava/util/List;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/netease/newsreader/activity/NewsReader;->access$102(Lcom/netease/newsreader/activity/NewsReader;Ljava/util/List;)V

    .line 571
    :cond_1
    iget-object v0, p0, Lcom/netease/newsreader/activity/NewsReader$22;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v0}, Lcom/netease/newsreader/activity/NewsReader;->access$79(Lcom/netease/newsreader/activity/NewsReader;)Ljava/util/List;

    move-result-object v0

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    if-lez v0, :cond_2

    .line 572
    iget-object v0, p0, Lcom/netease/newsreader/activity/NewsReader$22;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v0}, Lcom/netease/newsreader/activity/NewsReader;->access$23(Lcom/netease/newsreader/activity/NewsReader;)Landroid/os/Handler;

    move-result-object v0

    const/16 v1, 0x20

    invoke-virtual {v0, v1}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    .line 578
    :goto_0
    return-void

    .line 574
    :cond_2
    iget-object v0, p0, Lcom/netease/newsreader/activity/NewsReader$22;->this$0:Lcom/netease/newsreader/activity/NewsReader;

    invoke-static {v0}, Lcom/netease/newsreader/activity/NewsReader;->access$23(Lcom/netease/newsreader/activity/NewsReader;)Landroid/os/Handler;

    move-result-object v0

    const/16 v1, 0x2c

    invoke-virtual {v0, v1}, Landroid/os/Handler;->sendEmptyMessage(I)Z

    goto :goto_0
.end method
